package nc.ui.med.bd.medtypeinv;


import nc.itf.med.inter.IVrmToPu_Vendorstock_B;
import nc.itf.med.inter.IVrmToPu_Vendorstock_D;
import nc.itf.med.relat.IVendorstock;
import nc.vo.med.relat.VendorstockHeaderVO;
import nc.vo.med.relat.VendorstockItemVO;
import nc.vo.pub.BusinessException;

/**
 * business service ejb wrapper 
 * Created by EJBGenerator
 * based on velocity technology
 */

public class VendorstockHelper 
{
   
  private  static String beanName=IVendorstock.class.getName(); 

	public static java.lang.String[] queryPrintItem(java.lang.String arg0 ,nc.vo.pub.lang.UFBoolean arg1 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	java.lang.String[] o = null;
		o = bo.queryPrintItem_rl(arg0 ,arg1 );					
    	return o;
    	
	}
	public static void deleteHeaderMy(VendorstockHeaderVO[] arg0 ,java.lang.String arg1 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		bo.deleteHeaderMy(arg0 ,arg1 );			
		
	}
	public static boolean[] findItemByHeaderKeysMy(java.lang.String[] arg0) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	boolean[] o = null;
		o = bo.findItemByHeaderKeysMy(arg0);					
    	return o;
    	
	}
	public static VendorstockItemVO[] findItemByPrimaryKeyMy(java.lang.String arg0) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		 VendorstockItemVO[] o = bo.findItemByPrimaryKeyMy(arg0);					
    	return o;
    	
	}
	public static nc.vo.pub.lang.UFBoolean findMainVendorMy(java.lang.String arg0 ,java.lang.String arg1  ,java.lang.String arg2 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	nc.vo.pub.lang.UFBoolean o = null;
		o = bo.findMainVendorMy(arg0 ,arg1  ,arg2 );					
    	return o;
    	
	}
	public static java.lang.String[] getQualityAttr(java.lang.String[] arg0 ,java.lang.String arg1 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	java.lang.String[] o = null;
		o = bo.getQualityAttr(arg0 ,arg1 );					
    	return o;
    	
	}
	public static void importDataMy(java.lang.String arg0 ,java.lang.String arg1 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		bo.importDataMy(arg0 ,arg1 );			
		
	}
	public static nc.vo.pub.CircularlyAccessibleValueObject[] queryAllHead(java.lang.String arg0) throws Exception{

		IVrmToPu_Vendorstock_B bo = (IVrmToPu_Vendorstock_B)nc.bs.framework.common.NCLocator.getInstance().lookup(IVrmToPu_Vendorstock_B.class.getName());    
    	nc.vo.pub.CircularlyAccessibleValueObject[] o = null;
		o = bo.queryAllHead(arg0);					
    	return o;
    	
	}
	public static VendorstockHeaderVO[] queryHeadByStockMy(java.lang.String arg0 ,java.lang.String arg1 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	VendorstockHeaderVO[] o = null;
		o = bo.queryHeadByStockMy(arg0 ,arg1 );					
    	return o;
    	
	}
	public static VendorstockHeaderVO[] queryHeadByStocksMy(java.lang.String arg0) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	VendorstockHeaderVO[] o = null;
		o = bo.queryHeadByStocksMy(arg0);					
    	return o;
    	
	}
	public static VendorstockHeaderVO[] queryHeadByVendorMy(java.lang.String arg0 ,java.lang.String arg1 ) throws Exception{

		IVrmToPu_Vendorstock_D bo = (IVrmToPu_Vendorstock_D)nc.bs.framework.common.NCLocator.getInstance().lookup(IVrmToPu_Vendorstock_D.class.getName());    
    	VendorstockHeaderVO[] o = null;
		o = (VendorstockHeaderVO[]) bo.queryHeadByVendor(arg0 ,arg1 );					
    	return o;
    	
	}
	public static VendorstockHeaderVO[] queryHeadByVendorsMy(java.lang.String arg0) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
    	VendorstockHeaderVO[] o = null;
		o = bo.queryHeadByVendorsMy(arg0);					
    	return o;
    	
	}
	public static void updateHeadArrayGt(VendorstockHeaderVO[] arg0 ,VendorstockHeaderVO[] arg1  ,VendorstockHeaderVO[] arg2  ,java.lang.String arg3 ) throws Exception{

		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		bo.updateHeadArrayGt(arg0 ,arg1  ,arg2  ,arg3 );			
		
	}
	public VendorstockItemVO[] findItemByPrimaryKeyMyNew(String arg0,String arg1) throws Exception{
		IVendorstock bo = (IVendorstock)nc.bs.framework.common.NCLocator.getInstance().lookup(beanName);    
		VendorstockItemVO[] o = null;
		o = bo.findItemByPrimaryKeyMyNew(arg0,arg1);					
    	return o;	
	}
}
